﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class GoldPrice : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public string GetLanguage(string strVN, string strEN)
    {
        var currentLanguage = Session["language"] == null ? "vi-VN" : Session["language"].ToString();

        switch (currentLanguage)
        {
            case "vi-VN":
                return strVN;
            case "en-US":
                return strEN;
            default:
                return strVN;
        }
    }
}